<!-- 
  
-->
<template>
  <div class="page-home">
    <div>三更灯火五更鸡</div>
    <div>正是男儿读书时</div>
    <div>黑发不知勤学早</div>
    <div>白首方悔读书迟</div>
    <el-button type="primary" @click="toLogin">去登录</el-button>
  </div>
</template>

<script setup lang='ts'>
import { onMounted } from 'vue'
import { infinityModuleQueryList } from '@/api/infinity/index'
import { useRouter } from 'vue-router'

const router = useRouter()

function toLogin() {
  router.push({
    path: '/login',
  })
}

onMounted(() => {

  infinityModuleQueryList({})

})

</script>

<style lang='scss' scoped>
.page-home {
  height: 100vh;
  font-size: 24px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  .el-button {
    margin-top: 100px;
  }
}
</style>